import java.math.BigInteger;


public class Trm implements Node{

	public String token = "<trm>";
	public Node op;
	public String mul = null;
	public Node trm = null;
			
	public Trm(){
		op = new Op();
		int token  = PSTree.Core_TK.getToken();
		if(token == 24){
			this.mul = "*";
			PSTree.Core_TK.skipToken(); // skip *
			this.trm = new Trm();
		}
	}

	@Override
	public void print(int indent) {
		this.op.print(indent);
		if(this.mul != null){
			System.out.print("*");
			this.trm.print(indent);
		}
		
	}

	
	public void execute() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public BigInteger intexecute() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean compexecute() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public String Stringexcec() {
		// TODO Auto-generated method stub
		return null;
	}
}
